//
//  CostomUISlider.m
//  UI02_homework02
//
//  Created by aaaaaa on 16/6/9.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CostomUISlider.h"

@implementation CostomUISlider

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self setProperty];
    }
    return self;
}

- (void)setProperty{
    
    
    self.minimumValue = 0;
    self.maximumValue = 10;
    
    self.minimumValueImage = [UIImage imageNamed:@"low"];
    self.maximumValueImage = [UIImage imageNamed:@"hight"];
    
    self.userInteractionEnabled = YES;
    
}

@end
